package com.feng.timu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 试题题库
 * </p>
 *
 * @author feng
 * @since 2023-03-21 15:34:38
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("el_qu_repo")
@ApiModel(value = "QuRepo对象", description = "试题题库")
@NoArgsConstructor
@AllArgsConstructor
public class QuRepo {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("试题")
    @TableField("qu_id")
    private String quId;

    @ApiModelProperty("归属题库")
    @TableField("repo_id")
    private String repoId;

    @ApiModelProperty("题目类型")
    @TableField("qu_type")
    private Integer quType;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;


}
